package com.prs.crm.service.purchase.impl;

import java.io.Serializable;
import java.util.Collection;

import com.prs.crm.dao.purchase.SupplierInquiryDao;
import com.prs.crm.domain.purchase.SupplierInquiry;
import com.prs.crm.service.impl.FlowServiceImpl;
import com.prs.crm.service.purchase.SupplierInquiryService;

public class SupplierInquiryServiceImp extends FlowServiceImpl<SupplierInquiry, SupplierInquiryDao> implements SupplierInquiryService {

	@Override
	public boolean valideSubmit(SupplierInquiry entity) {
		
		return true;
	}

	@Override
	public Collection<SupplierInquiry> findByIds(Integer[] ids) {
		
		return this.getDao().findByIds(ids);
	}

	@Override
	public SupplierInquiry getSupplierInquiry(Serializable id) {
		
		return this.getDao().getSupplierInquiry(id);
	}

	@Override
	public void saveOrUapedate(SupplierInquiry supplierInquiry) {
		this.getDao().saveOrUapedate(supplierInquiry);
	}
	
}
